﻿<UserControl x:Class="Okazuki.BehaviorSupport.Silverlight.Test.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400" xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions">

    <Grid x:Name="LayoutRoot" Background="White">
        <Button Content="Button" Height="23" HorizontalAlignment="Left" Margin="12,12,0,0" Name="button1" VerticalAlignment="Top" Width="75">
            <i:Interaction.Triggers>
                <i:EventTrigger>
                    <ei:CallMethodAction />
                </i:EventTrigger>
            </i:Interaction.Triggers>
            <i:Interaction.Behaviors>
                <ei:FluidMoveBehavior />
            </i:Interaction.Behaviors>
        </Button>
        <CheckBox Content="CheckBox" Height="16" HorizontalAlignment="Left" Margin="12,41,0,0" Name="checkBox1" VerticalAlignment="Top">
            <i:Interaction.Triggers>
                <i:EventTrigger EventName="KeyUp">
                    <ei:SetDataStoreValueAction />
                </i:EventTrigger>
            </i:Interaction.Triggers>
        </CheckBox>
    </Grid>
</UserControl>
